package com.cetc.sdp.kmga.cs.audit;

import java.io.Serializable;

/**
 * @description: 数据资源审计对象信息
 * @author： DengQiang
 * @date: 2017/9/5 11:27
 */
public class ResourceAuditObj implements Serializable {


    /**
     * 探针
     */
    public static int AUIDIT_SRC = 0;
    /**
     * 脱敏
     */
    public static int DESENS_SRC = 1;
    /**
     * 堡垒机(运维)
     */
    public static int OPS_SRC = 2;

    /**
     * id
     */
    private int id;

    /**
     * 资源id
     */
    private int resrcId;

    /**
     * 资源类型编码
     */
    private String resTypeCode;

    /**
     * 审计对象名称
     */
    private String name;

    /**
     * 服务器IP
     */
    private String serverIp;

    /**
     * 端口号
     */
    private int port;

    /**
     * 审计对象类型
     */
    private String type;

    /**
     * 来源
     */
    private int src;

    /**
     * 别名
     */
    private String alias;

    /**
     * 备注
     */
    private String remark;

    /**
     * 获取时间
     */
    private String getTime;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getResrcId() {
        return resrcId;
    }

    public void setResrcId(int resrcId) {
        this.resrcId = resrcId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getServerIp() {
        return serverIp;
    }

    public void setServerIp(String serverIp) {
        this.serverIp = serverIp;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getSrc() {
        return src;
    }

    public void setSrc(int src) {
        this.src = src;
    }

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getGetTime() {
        return getTime;
    }

    public void setGetTime(String getTime) {
        this.getTime = getTime;
    }

    public String getResTypeCode() {
        return resTypeCode;
    }

    public void setResTypeCode(String resTypeCode) {
        this.resTypeCode = resTypeCode;
    }
}
